﻿using FluentValidation;

namespace Services.Activity.WebApi.Request;

public class VolunteerSignInActivityRequest
{
    public long ActivityId { get; set; }
}

public class VolunteerSignInActivityRequestValidator    : AbstractValidator<VolunteerSignInActivityRequest>
{
    public VolunteerSignInActivityRequestValidator()
    {
        RuleFor(x => x.ActivityId).NotEmpty().NotNull().WithMessage("活动的索引不能为空");
    }
}